package com.chinasoft.maysham.manager.model;

import lombok.Data;
import org.springframework.data.annotation.*;

import java.io.Serializable;

@Data
class BaseModel implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id
    private String id;

    @CreatedBy
    private String authorId;

    @LastModifiedBy
    private String updaterId;

    @CreatedDate
    private long createdOn;

    @LastModifiedDate
    private long updatedOn;

    private boolean deleted;
}
